package ee.maoinvest.backend.services;

import java.util.List;

import ee.maoinvest.backend.model.data.ElectricityMeterAndItsElectricityContractPeriod;
import ee.maoinvest.backend.model.data.views.EnterpriseContractWithElectricityMeter;

public interface EnterpriseRelationsWithElectricityMetersAndContractsService 
{
	public List<EnterpriseContractWithElectricityMeter> getAllEnterpriseContractsWithElectricityMeters(int enterpriseID);
	public List<EnterpriseContractWithElectricityMeter> getAllContractRelationsWithElectricityMetersAndEnterprises(int electricityContractID);
	
	public int insertElectricityMeterAndItsElectricityContractPeriod(
			ElectricityMeterAndItsElectricityContractPeriod electricityMeterAndItsElectricityContractPeriod);
	public int removeEnterpriseContractWithElectricityMeter(
			ElectricityMeterAndItsElectricityContractPeriod electricityMeterAndItsElectricityContractPeriod);
	public int removeContractRelationWithElectricityMeterAndEnterprise(
			ElectricityMeterAndItsElectricityContractPeriod electricityMeterAndItsElectricityContractPeriod);
	
	public ElectricityMeterAndItsElectricityContractPeriod getElectricityMeterAndItsElectricityContractPeriodByElectricityMeterID(
			int electricityMeterID);
}
